<%@ page pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<label for="nomClient">Nom </label>
<input type="text" id="nomClient" name="nomClient" required="required" value="<c:out value="${client.getNom()}" default=""/>" size="30" maxlength="256" />
<span class="erreur">${form.erreurs['nomClient']}</span>
<br />

<label for="prenomClient">Prénom </label>
<input type="text" id="prenomClient" name="prenomClient" required="required" value="<c:out value="${client.getPrenom()}" default=""/>" size="30" maxlength="256" />
<span class="erreur">${form.erreurs['prenomClient']}</span>
<br />

<label for="dateClient">Date de naissance </label>
<input type="date" id="dateClient" name="dateClient" required="required" value="<c:out value="${client.getNaissance().toString('yyyy-MM-dd')}" default=""/>" size="30" />
<span class="erreur">${form.erreurs['dateClient']}</span>
<br />

<label for="telephoneClient">Numéro de téléphone </label>
<input type="text" id="telephoneClient" name="telephoneClient" required="required" value="<c:out value="${client.getTelephone()}" default=""/>" size="30" maxlength="30" />
<span class="erreur">${form.erreurs['telephoneClient']}</span>
<br />

<label for="emailClient">Courriel </label>
<input type="email" id="emailClient" name="emailClient" required="required" value="<c:out value="${client.getMail()}" default=""/>" size="30" maxlength="60" />
<span class="erreur">${form.erreurs['emailClient']}</span>
<br /><br />

<label for="mdpClient">Mot de passe </label>
<input type="password" id="mdpClient" name="mdpClient" value="" size="30" maxlength="30" />
<span class="erreur">${form.erreurs['mdpClient']}</span>
<br />

<label for="confClient">Confirmation </label>
<input type="password" id="confClient" name="confClient" value="" size="30" maxlength="30" />
<span class="erreur">${form.erreurs['confClient']}</span>
<br /><br />

<label for="adresseRueClient">Libellé de l'adresse </label>
<input type="text" id="adresseRueClient" name="adresseRueClient" required="required" value="<c:out value="${client.getAdresse().getRue()}" default=""/>" size="100" maxlength="256" />
<span class="erreur">${form.erreurs['adresseRueClient']}</span>
<br />

<label for="adresseCPClient">Code postal de l'adresse </label>
<input type="text" id="adresseCPClient" name="adresseCPClient" required="required" value="<c:out value="${client.getAdresse().getCodePostal()}" default=""/>" size="30" maxlength="25" />
<span class="erreur">${form.erreurs['adresseCPClient']}</span>
<br />

<label for="adresseVilleClient">Ville de l'adresse </label>
<input type="text" id="adresseVilleClient" name="adresseVilleClient" required="required" value="<c:out value="${client.getAdresse().getVille()}" default=""/>" size="50" maxlength="100" />
<span class="erreur">${form.erreurs['adresseVilleClient']}</span>
<br />

<label for="adressePaysClient">Pays de l'adresse </label>
<input type="text" id="adressePaysClient" name="adressePaysClient" required="required" value="<c:out value="${client.getAdresse().getPays()}" default=""/>" size="50" maxlength="100" />
<span class="erreur">${form.erreurs['adressePaysClient']}</span>
<br /><br />

